package edu.sdbi.judge.mapper;

import edu.sdbi.judge.domain.entity.Visit;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface VisitMapper {
    List<Visit> selectAll();

    void insert(Visit visit);

    void delete();

    int countByNewsId(String newsId);

}
